import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
    {path: '/', redirect: '/school_administrator'},
    {path: '/school_administrator', name: 'school_administrator', component: () => import('../../views/super-administrator/SchoolAdministratorView.vue')},
    {path: '/college_administrator', name: 'college_administrator', component: () => import('../../views/super-administrator/CollegeAdministratorView.vue')},
    {path: '/head_of_department', name: 'head_of_department', component: () => import('../../views/super-administrator/HeadOfDepartmentView.vue')},
    {path: '/teacher', name: 'teacher', component: () => import('../../views/super-administrator/TeacherView.vue')},
    {path: '/student', name: 'student', component: () => import('../../views/super-administrator/StudentView.vue')},
    {path: '/practice', name: 'practice', component: () => import('../../views/super-administrator/PracticeView.vue')}
]

export default createRouter({
    history: createWebHashHistory(),
    routes,
    strict: true
})